package com.sleepcamel.resteasyConfigurator.components.tree.listeners;

import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.KeyListener;

public class CutCopyPasteKeyListener implements KeyListener {

	@Override
	public void keyPressed(KeyEvent paramKeyEvent) {
	}

	@Override
	public void keyReleased(KeyEvent paramKeyEvent) {
		boolean isCut = paramKeyEvent.keyCode == 'x';
		boolean isCopy = paramKeyEvent.keyCode == 'c';
		boolean isPaste = paramKeyEvent.keyCode == 'v';
		if ( paramKeyEvent.stateMask == SWT.CTRL && 
				(isCut || isCopy || isPaste ) ){
			
		}
	}

}
